﻿using SportsStore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsStore.Domain.Abstract
{
    public interface IProductsRepository
    {
        IEnumerable<Product> Products { get; }

        void SaveProduct(Product product);

        /// <summary>
        /// 删除方法
        /// </summary>
        /// <param name="productID"></param>
        /// <returns></returns>
        Product DeleteProduct(int productID);
    }
}
